/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础HTML样式 */
html {
    font-size: 1em;
    line-height: 1.6;
    min-height: 100vh;
}

/* 主体内容区域 */
body {
    margin: 0 auto;
    padding: 20px;
    max-width: 900px;
    min-height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    position: relative;
}

/* 背景图片样式 - 移动端优先 */
body {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: url('./img/mode.png');
}

/* 大屏幕背景图片覆盖 */
@media (min-width: 768px) {
    body {
        background-image: url('./img/head.png');
    }
}

/* 表格标题样式 */
h1 {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    font-weight: bold; /* 加粗 */
    text-align: center;
    font-size: 1.6em;
    line-height: 3em;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

/* 链接基础样式 */
a {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    color: #000000; /* 纯黑色 */
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: bold; /* 加粗 */
}
a:hover {
    color: #000000; /* 保持纯黑色 */
}

/* 搜索表单样式 */
.search-form {
    display: flex;
    justify-content: center;
    margin: 15px 0 25px;
}

/* 搜索输入框样式 */
input {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    font-size: 14px;
    display: inline-block;
    height: 36px;
    padding: 6px 12px;
    margin-bottom: 15px;
    line-height: 1.5;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
    transition: all 0.3s ease;
    border-collapse: collapse;
    background: transparent;
}
input:focus {
    outline: 0;
    border-color: #66afe9;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075), 0 0 8px rgba(102,175,233,0.6);
    border-collapse: collapse;
    background: transparent;
}

/* 表格样式 */
table {
    border-collapse: collapse;
    font-size: 0.95em;
    width: 100%;
    margin: 20px auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
}

/* 表头样式 */
th {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    text-align: left;
    font-size: 0.85em;
    padding: 12px 15px;
    background-color: #f5f5f5;
    color: #000000; /* 纯黑色 */
    font-weight: bold; /* 加粗 */
    border-bottom: 2px solid #ddd;
    border-collapse: collapse;
    background: transparent;
}

/* 表格行样式 */
tr {
    border-bottom: 1px solid #edf1f5;
}
tr:hover td {
    background: #f6f6f6;
}

/* 表格单元格样式 */
td {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    padding: 12px 15px;
    vertical-align: middle;
    text-align: left;
    transition: background 0.3s ease;
    color: #000000; /* 纯黑色 */
    font-weight: bold; /* 加粗 */
}
td:first-child {
    padding-left: 15px;
}
td:last-child {
    text-align: right;
    padding-right: 15px;
}

/* 页脚样式 */
footer {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    font-size:12px;
    text-align:center;
    padding: 20px 0;
    margin-top: 30px;
}
footer a {
    color:#990012;
    text-decoration: underline;
}